package org.kamionowski.supreme.persistence.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;

/**
 * Created by IntelliJ IDEA.
 * User: Marcin Kamionowski
 * Date: 14.04.11
 * Time: 00:53
 */
@javax.persistence.Table(name = "search_scan", schema = "public", catalog = "")
@Entity
public class Scan implements Serializable{
    private Integer id;

    @javax.persistence.Column(name = "id", nullable = false, insertable = true, updatable = true, length = 10, precision = 0)
    @Id
    @SequenceGenerator(name="scanSeq")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
